<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style></style>
  </head>
  <body>
    <div id="box"></div>
    <p></p>
    <p></p>
    <p></p>
    <p></p>
    <script src="js/public.js"></script>
    <script>
      // 用于获取 id=box这个div标签对象
      var div = $("#box");
      console.log(div);
      // 获取所有的p标签
      var ps = $$("p");
      console.log(ps);
    </script>
  </body>
</html>
